package com.company.lanqiao;

import java.util.Scanner;

public class BallGame {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int[] times = new int[3];
        int[] balls = new int[5];

        for (int time : times) {
            time  = sc.nextInt();
        }

        for (int ball : balls) {
            ball = sc.nextInt();
        }


    }
}
